package com.cgg.stock.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 订单实体类
 * @Date: 2023/2/12 23:15
 * @Author: SinkDream
 */
@Data
@TableName("tb_order")
public class Order {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String stockId;
    private Long userAccount;
    private Date registerOrderTime;
    private Date cancellationTime;
    private Date dealTime;
    private BigDecimal price;
    private Integer num;
    private Integer type;
    private Integer status;
}
